# ------------------------------------------------------------------------------
#
# Copyright (c) 2011 - The OWE Team
#
# This file is part of OWE.
#
# OWE is a free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; version
# version 2.1 of the License.
#
# OWE is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with OWE. If not, see <http://www.gnu.org/licenses/>.
#
# ------------------------------------------------------------------------------

find_package(Qt4 REQUIRED)
set(QT_USE_QTXML TRUE)
include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
set(PLATFORM_LIBRARIES ${QT_LIBRARIES})

set(PLATFORM_SOURCE_FILES
    ${OWE_PLATFORM_QT_DIR}/backend/configparser.cpp
    ${OWE_PLATFORM_QT_DIR}/backend/platform.cpp
    ${OWE_PLATFORM_QT_DIR}/backend/ustring.cpp
    ${OWE_PLATFORM_QT_DIR}/backend/xmlnode.cpp
)
